package com.kol.collect.exception;

/**
 * Created by liukun on 20/3/8.
 */
public class BusinessException extends Exception {

    private static final long serialVersionUID = -8143038649490578143L;

    /**
     * 构造函数说明
     *
     * @param errorCode
     * @param errorMessage
     */
    public BusinessException(String errorCode, String errorMessage) {
        super(errorMessage);
        this.errorCode = errorCode;
        this.errorMessage = errorMessage;
    }
    private String errorCode = null;

    private String errorMessage = null;

    public String getErrorCode() {
        return errorCode;
    }

    public void setErrorCode(String errorCode) {
        this.errorCode = errorCode;
    }

    public String getErrorMessage() {
        return errorMessage;
    }

    public void setErrorMessage(String errorMessage) {
        this.errorMessage = errorMessage;
    }


}
